package com.sqx.modules.health.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 医生药方参考表
 * </p>
 *
 * @author hsx
 * @since 2022-08-29
 */
@Getter
@Setter
@TableName("ncg_app_prescription")
@ApiModel(value = "AppPrescription对象", description = "医生药方参考表")
public class AppPrescription implements Serializable {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty("药方id")
  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;

  @ApiModelProperty("案例序列号")
  private Integer caseid;

  @ApiModelProperty("方剂名称")
  private String name;

  @ApiModelProperty("别名")
  private String othername;

  @ApiModelProperty("主要成分")
  private String material;

  @ApiModelProperty("详情描述")
  private String detail;

  @ApiModelProperty("药方作者")
  private String author;

  @ApiModelProperty("药方来源")
  private String orical;

  @ApiModelProperty("剂型")
  private String type;

  @ApiModelProperty("西医west medicine 病名")
  private String wdiseasename;

  @ApiModelProperty("中医east medicine  病名")
  private String ediseasename;

  @ApiModelProperty("作用")
  private String action;

  @ApiModelProperty("性状")
  private String description;

  @ApiModelProperty("功能主治")
  private String indecation;

  @ApiModelProperty("规格")
  private String specification;

  @ApiModelProperty("副作用")
  private String sideeffects;

  @ApiModelProperty("不良反应")
  private String adverseReaction;

  @ApiModelProperty("注意事项")
  private String precaution;

  @ApiModelProperty("创建时间")
  private LocalDateTime createtime;

  @ApiModelProperty("删除")
  private int isdelete;

}
